package com.ishopping.api.manage.service;

import com.ishopping.api.manage.entity.Role;
import com.ishopping.common.core.base.service.IBaseService;

import java.util.List;

public interface IRoleService extends IBaseService<Role> {
    /**
     * 通过用户id获取用户所具备的角色
     * @param userId
     * @return List<Role>
     */
    List<Role> findRolesByUserId(Long userId);
}
